home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM
- REM This command allows access to (NET USE) and messages from a 3+Open
- REM server on a remote network - connected via 3+NETCONNECT or 3+ROUTE.
- REM
- REM To use enter:
- REM remserv local-computer-name remote-computer-name remote-network-number
- REM
- REM The local computer name, remote computer name, and remote network
- REM number are required. The local computer name and remote computer
- REM name must be entered in upper case.
- REM
- REM Example:
- REM remserv JOE_SMITH REMSERVER 4a942
- REM
- REM The following commands allow access to the remote server via
- REM NET USE. The REG command adds to the remote network's locator the
- REM "Redirector Name" that is used by this workstation's redirector
- REM to communicate with the server. The USE command adds to this
- REM workstations 3nb2 table the "Server Name" that is used by the server
- REM on the remote network.
- REM
- 3nb2 reg %1 /end=\00 #%3
- 3nb2 use %2 /end=\20 #%3
- REM
- REM The following commands allow the remote server to message the
- REM workstation, such as the "print file done" message or alerts.
- REM The REG command adds to the remote network's locator the
- REM "Messaging Name" that is used as the target name (LISTEN) for
- REM messages. The USE command adds to this workstation's 3nb2 table
- REM the NETBIOS name used as the source (CALL) for the messaging system.
- REM
- 3nb2 reg %1 /end=\03 #%3
- 3nb2 use %2 /end=\03 #%3